package com.cts.learninglibrary.service;

import com.cts.learninglibrary.dto.LoginDto;
import com.cts.learninglibrary.util.R;

/**
 * @author arctique
 * @date 2020/8/24 13:12
 */
public interface LoginService {

    /**
     * 登录
     *
     * @param username
     * @param password
     * @return R
     */
    R login(String username, String password);

    /**
     * 登出
     *
     * @return
     */
    R logout();
}
